/**
 * Vuex状态管理
 */
import { createStore } from 'vuex'
import mutations from './mutations'
import storage from '../utils/localstorage'
const state = {
  userinfo: '' || storage.getItem('userInfo')
}
export default createStore({
  state,
  mutations
})